(function () {
        function resize(){
            document.documentElement.style.fontSize = document.documentElement.clientWidth / 25 +"px";
            console.log("font-size:"+document.documentElement.style.fontSize)
        }
        resize();
        window.addEventListener("resize",resize,false);
    }
)();